package Exception;

public class DadosException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public static final String ERROR_ADD= "An error occurred while adding complete the registration!";
	public static final String ERROR_EDIT= "An error occurred while editing the registry!";
	public static final String ERROR_DEL= "Ocorreu um erro ao tentar excluir o cadastro!";
	
	public static final String ERROR_USERNAMENOTVALID= "The username informed is being used!";
	public static final String ERROR_PASSWORD= "Passwords do not match!";
	
	public static final String ERROR_LOGIN_INVALIDO= "Incorrect Information. Check your login and password!";
	
	public DadosException(String msg, Throwable e) {
		super(msg, e);
	}
	
	public DadosException(String msg) {
		super(msg);
	}
	
	

}
